package com.hkunderground.blog.helper;

import java.util.ResourceBundle;

public class PropertiesHelper 
{
	private static String BLOG_USER = null;
	
	public static boolean isBlogUser(String eMail)
	{
		return (eMail.equals(getBlogUser())?true:false);
	}//isBlogUser
	
	public static String getBlogUser()
	{
		if (BLOG_USER != null)
		{
			return BLOG_USER;
		}//if (BLOG_USER != null)
		
		ResourceBundle lrbBlogSetting = ResourceBundle.getBundle(ConstantHelper.RESOURCE_BUNDLE_NAME_BLOGSETTING);
		BLOG_USER =  lrbBlogSetting.getString(ConstantHelper.RB_BLOGSETTING_USER);
		
		return BLOG_USER;
	}//getBlogUser
}//PropertiesHelper
